<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <h2>绝对路径</h2>   
  <a href="http://a.com/abc">尚硅谷</a>
  <a href="/a/b/c">测试绝对路径</a>
  <img src="/images/logo.png" alt="">

  <h2>相对路径</h2>
  <a href="./abc.html">测试相对路径</a>
  <a href="../xyz.html">测试相对路径</a>
</body>
</html>